// 类型：1投票；2报名
export const activityDict = {
    activityTypeDictList: [
        {
            value: 1,
            label: '投票'
        },
        {
            value: 2,
            label: '报名'
        }
    ],
    activityTypeDictMap: {
        1: '投票',
        2: '报名'
    }
}


export const timeData = [
    {
        id: 0,
        name: "全部日期",
    },
    {
        id: "1",
        name: "今日",
    },
    {
        id: "2",
        name: "本月",
    },
    {
        id: "3",
        name: "本季",
    },
    {
        id: "4",
        name: "本年",
    },
    {
        id: "5",
        name: "自定义",
    },
]


export const ptypeList = [
    {
        id: 1,
        name: '单笔订单金额'
    },
    {
        id: 2,
        name: '累计订单金额'
    },
    {
        id: 3,
        name: '订单交易笔数'
    },
    {
        id: 4,
        name: '注册客户人数'
    }
]

export const gradeList = [
    {
        id: 1,
        name: '一级分销'
    },
    {
        id: 2,
        name: '二级分销'
    }
]

export const fractTypeList = [
    {
        id: 1,
        name: '通用积分规则'
    },
    {
        id: 2,
        name: '自定义积分规则'
    }
]

export const isoneTypeList = [
    {
        id: '1',
        name: '单个'
    },
    {
        id: '2',
        name: '多个'
    }
]

export const pTypeList = [
    {
        value: '2',
        label: '按价格折扣'
    },
    {
        value: '1',
        label: '按千人千价'
    }
]

export function gradesList() {
    return Array.from({ length: 100 }, (_, i) => ({
        label: `第${i + 1}级`,
        value: (i + 1)+''
    }));
}

export const chUpList = [
    {
        value: '1',
        label: '累计完成订单金额满'
    },
    {
        value: '2',
        label: '累计完成订单数量满'
    },
    {
        value: '3',
        label: '累计完成邀请人数满'
    }
]

export const printTypeList = [
	{
		value: 1,
		label: '云店微信二维码'
	},
	{
		value: 2,
		label: '云店普通二维码'
	},
	{
		value: 3,
		label: '电子单二维码'
	},
	{
		value: 0,
		label: '不打印'
	}
]